﻿Imports Control_Vuelos_BL
Public Class frmMaestroCuentas
    Inherits frmBaseMantenimiento

    Private ReadOnly vMaestro As New MaestrosBL

    Private Sub frmMaestroCuentas_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
        BarBtnAgregar.Visibility = DevExpress.XtraBars.BarItemVisibility.Never
        BarBtnCancelar.Visibility = DevExpress.XtraBars.BarItemVisibility.Never
        BarBtnEliminar.Visibility = DevExpress.XtraBars.BarItemVisibility.Never
        BarBtnGrabar.Visibility = DevExpress.XtraBars.BarItemVisibility.Never
        BarBtnImprimir.Visibility = DevExpress.XtraBars.BarItemVisibility.Never
        BarBtnModificar.Visibility = DevExpress.XtraBars.BarItemVisibility.Never

        AddHandler BarBtnRefresh.ItemClick, AddressOf prl_GetCuentas
        prl_GetCuentas()
    End Sub

    Public Sub prl_GetCuentas()
        GridControl1.DataSource = vMaestro.pr_GetCuentas("0")
    End Sub

End Class